package com.jason.www.dao;

import com.jason.www.pojo.GiftCard;

import java.util.List;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author JasonChoi
 * @since 2018-09-13
 */
public interface GiftCardMapper{
    int deleteByPrimaryKey(Long id);

    int insert(GiftCard record);

    int batchSave(List<GiftCard> list);

    int insertSelective(GiftCard record);

    GiftCard selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GiftCard record);

    int updateByPrimaryKey(GiftCard record);

    List<GiftCard> selectByCondition(GiftCard giftCard);
}